/*网站头部样式*/
.header {
    height: 59px;
    border-bottom: 1px solid #404553;
    background-color: #393D49;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.header .logo{
    color: #fafafa;
}

.logo img{
    width: 36px;
    height: 36px;
    vertical-align: middle;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -moz-box-shadow: 3px 3px 10px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 3px 3px 10px rgba(0, 0, 0, .2);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, .2);
}

.logo-heading{
    display: inline-block;
    vertical-align: middle;
    line-height: 60px;
}

.header .layui-nav {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    background: none;
}

/*清除浮动*/
.clearfix:after{content: "."; display: block; height:0; clear: both; visibility: hidden;}
.clearfix{overflow: auto; _height: 1%}
.clear{clear: both;}

/*主体区域样式*/
.text-center{
    text-align: center;
}
.text-right{
    text-align: right;
}

.layui-main{
    margin: 0 auto;
    width: 83.3333%;
}

.doc-main{
    position: relative;
    overflow: visible; 
}

.aside-tree,
.chapter-body {
    float: left;
}

/*侧边栏样式*/
.aside-tree {
    width: 220px;
    min-height: 0;
    padding: 0 0 30px;
    border-right: 1px solid #eee;
}

.aside-fixed{    
    position: fixed;
    top: 0;
    bottom: 0;
    overflow: auto;
}

.aside-header{
    height: 55px;
    line-height: 55px;
    font-size: 16.5px;
    border-radius: 2px;
}

.aside-header .layui-icon{
    font-size: 18px;
    text-shadow: 0 1px 0 #ccc;
    border-radius: 50%;
}

.aside-tree .layui-tree li h2 {
    line-height: 36px;
    border-left: 5px solid #009E94;
    margin: 15px 0 5px;
    padding: 0 10px;
    background-color: #f2f2f2;
    font-size: 14px;
}
.aside-tree .layui-tree a {
    width: 100%;
}
.aside-tree .layui-tree .layui-this a {
    color: #01AAED;
}
.aside-tree .layui-tree .aside-tree-node a cite {
    padding: 0 8px 0 15px;
    font-size: 14px;
    font-style: normal;
}
.aside-tree .layui-tree .aside-tree-node a em {
    color: #bbb;
    padding-right: 5px;
    font-size: 12px;
    font-style: normal;
}

.aside-tree .layui-tree .aside-tree-seperate hr{
    margin-left: 15px;
    margin-right: 10px;
}

/*loading 样式*/
.loading-content{
    position: relative; 
    padding: 10px 0; 
    margin: 0 auto; 
    text-align: center; 
    color: #878787;
    opacity: .65; 
    filter: alpha(opacity=65); 
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.loading-content:before{
    content: ""; 
    display: inline-block; 
    vertical-align: bottom;
    width: 30px; 
    height: 30px; 
    background: url('../images/loader2.gif') no-repeat left center; 
}

/*chapter body 样式*/
.chapter-body{
    position: absolute;
    left: 220px;
    right: 0;
    padding: 0 0 10px 20px;
	background-color: white;
}

.chapter-body h1,
.chapter-body h2,
.chapter-body h3,
.chapter-body h4{
    margin: .83em auto;
}

.chapter-body img{
    cursor: pointer;
}

.chapter-body .tags{
    color: #878787;
}

.chapter-content {
    margin-top: 1em;
    color: #333;
    font-size: 110%;
    line-height: 1.75;
}

.chapter-content h1,
.chapter-content h2,
.chapter-content h3,
.chapter-content h4{
    font-weight: bold;
}

.chapter-content blockquote{
	display: block;
    margin-bottom: 10px;
    padding: 15px;
    line-height: 22px;
    border-left: 5px solid #009688;
    border-radius: 0 2px 2px 0;
    background-color: #f2f2f2;
    text-indent: 0;
}

.chapter-content pre {
    font-family: Courier New!important;
    font-size: 13px !important;
	line-height: 1.625;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.chapter-content code{
	display: block;
    margin-bottom: 10px;
    padding: 15px;
    background-color: #f2f2f2;
	color: #37474f;
    border-radius: 3px;
    text-indent: 0;
}

.chapter-content img,
.chapter-content table {
    max-width: 100%;
}

.chapter-content table td, .chapter-content table th {
    position: relative;
    padding: 9px 15px;
    min-height: 20px;
    line-height: 20px;
	border: 1px solid #e6e6e6;
}
.chapter-content table th{
	background-color: #f2f2f2;
}

.chapter-content p {
    margin: .5em 0;
}

.chapter-content ol,
.chapter-content ul {
    list-style-position: inside;
    padding-left: 1em;
}
.chapter-content ol{
    list-style-type: decimal;
}
.chapter-content ul{
    list-style-type: disc;
}
.chapter-content li{
    list-style: inherit;
}

/*footer 样式*/
.footer{
    padding: 30px 0;
    line-height: 30px;
    text-align: center;
    color: #666;
}

.footer .logo-img{
    width: 28px; 
    height: 28px; 
    border-radius: 50%;
}

/*滚动条的样式设置*/
/*滚动条凹槽的颜色，还可以设置边框属性*/
::-webkit-scrollbar-track-piece {
    background-color: #f5f5f5;
}
/*滚动条的宽度*/
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
/*滚动条的设置*/
::-webkit-scrollbar-thumb {
    background-color: #dcdcdc;
    background-clip: padding-box;
    min-height: 24px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #bbb;
}